Where there is more than one .csv file

Previously, we created a mail merge report where there was only a single .csv data file generated when the report is run in EMu. Although it is possible in many cases to include all data within a single .csv file, there are circumstances in which more than one .csv file will be generated when a report is run in EMu: for instance, fields that are both an attachment field AND a table of values (see our example report) will always be exported out of EMu in a separate .csv data file when a report is run.

Note: This example extends the report developed earlier for a single .csv file. Note that the Visual Basic code we added to connect to the correct DSN is necessary whether we are working with a single .csv file or many .csv files.